﻿using System;
namespace DTcms.Model
{
	/// <summary>
    /// 工长管理表 dt_foreman_user
	/// </summary>
	[Serializable]
	public partial class foreman_user
	{
		public foreman_user()
		{}
		#region Model
		private int _id;
		private int _fore_work=1;
		private DateTime _fore_settime;
		private string _fore_areas;
		private string _fore_info;
		private string _fore_exp;
		private int _fore_renzheng=2;
		private int _fore_level;
		private string _fore_grade;
		private string _fore_safe;
		private int _fore_isred=0;
        private int _fore_istop = 0;
        private int _fore_sort = 99;
		private int _fore_creater;
		private DateTime _fore_updatetime=DateTime.Now;
		private string _fore_from;
		private int _user_id=0;
		/// <summary>
		/// 工长自增id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 1：1-3年 2：3-5年 3：5-10年 4：10年以上
		/// </summary>
		public int fore_work
		{
			set{ _fore_work=value;}
			get{return _fore_work;}
		}
		/// <summary>
		/// 选择入驻时间
		/// </summary>
		public DateTime fore_settime
		{
			set{ _fore_settime=value;}
			get{return _fore_settime;}
		}
		/// <summary>
		/// 设定接单区域
		/// </summary>
		public string fore_areas
		{
			set{ _fore_areas=value;}
			get{return _fore_areas;}
		}
		/// <summary>
		/// 富文本框形式写入简介
		/// </summary>
		public string fore_info
		{
			set{ _fore_info=value;}
			get{return _fore_info;}
		}
		/// <summary>
		/// 多行文本框即可
		/// </summary>
		public string fore_exp
		{
			set{ _fore_exp=value;}
			get{return _fore_exp;}
		}
		/// <summary>
		/// 1 锤子认证 2非认证
		/// </summary>
		public int fore_renzheng
		{
			set{ _fore_renzheng=value;}
			get{return _fore_renzheng;}
		}
		/// <summary>
		/// 1星 2星 3星 4星 5星  直接保存整数
		/// </summary>
		public int fore_level
		{
			set{ _fore_level=value;}
			get{return _fore_level;}
		}
		/// <summary>
		/// 1 优秀 2良好 3一般 ，直接保存文本即可
		/// </summary>
		public string fore_grade
		{
			set{ _fore_grade=value;}
			get{return _fore_grade;}
		}
		/// <summary>
		/// 多项复选保障项，我随后添加
		/// </summary>
		public string fore_safe
		{
			set{ _fore_safe=value;}
			get{return _fore_safe;}
		}
		/// <summary>
		/// 1 推荐 0正常，推荐后可在首页显示
		/// </summary>
		public int fore_isred
		{
			set{ _fore_isred=value;}
			get{return _fore_isred;}
		}
		/// <summary>
		/// 1 置顶 0正常，置顶后列表显示最前面
		/// </summary>
		public int fore_istop
		{
			set{ _fore_istop=value;}
			get{return _fore_istop;}
		}
		/// <summary>
		/// 排序越小越靠前，默认99
		/// </summary>
		public int fore_sort
		{
			set{ _fore_sort=value;}
			get{return _fore_sort;}
		}
		/// <summary>
		/// 当前登录人
		/// </summary>
		public int fore_creater
		{
			set{ _fore_creater=value;}
			get{return _fore_creater;}
		}
		/// <summary>
		/// 最后更新时间
		/// </summary>
		public DateTime fore_updatetime
		{
			set{ _fore_updatetime=value;}
			get{return _fore_updatetime;}
		}
		/// <summary>
		/// 工长介绍 电话  内部介绍，等等自己填写
		/// </summary>
		public string fore_from
		{
			set{ _fore_from=value;}
			get{return _fore_from;}
		}
		/// <summary>
		/// 会员id
		/// </summary>
		public int user_id
		{
			set{ _user_id=value;}
			get{return _user_id;}
		}
		#endregion Model

        /// <summary>
        /// 对应的会员user信息
        /// </summary>
        public users user { get; set; }

	}
}

